﻿<!--
    
/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Microsoft Public License. A
 * copy of the license can be found at http://go.microsoft.com/fwlink/?LinkID=131993. If
 * you cannot locate the Microsoft Public License, please send an email to
 * mixon@microsoft.com. By using this source code in any fashion, you are agreeing to
 * be bound by the terms of the Microsoft Public License.
 *
 * You must not remove this notice, or any other, from this software.
 *
 *
 * ***************************************************************************/
    
-->
    
<UserControl x:Class="MIXOnline.Descry.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    
    xmlns:tribe="clr-namespace:MIXOnline.Descry"
    MinWidth="640" MinHeight="480"
    >
   
	<UserControl.Resources>
		<Storyboard x:Name="gridHelpFadeIn">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="gridHelp" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeySpline="0.305999994277954,0.776000022888184,0.493999987840652,0.966000020503998" KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="gridHelpFadeOut">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="gridHelp" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeySpline="0,0.46399998664856,0.14300000667572,0.61899995803833" KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="gridHelp" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Visible</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
					<DiscreteObjectKeyFrame.Value>
						<Visibility>Collapsed</Visibility>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>

    <Grid>

        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="0"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="0"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="0"/>
            </Grid.RowDefinitions>

            <Rectangle Fill="#FF202020" Visibility="Visible" Grid.Row="1" Grid.Column="1" />

            <tribe:AttachableMultiScaleImage x:Name="amsi"  Grid.Row="1" Grid.Column="1"/>
            
        </Grid>

        <!-- First Run UX pages-->
        <Grid x:Name="gridHelp" Background="#191919">

				<Canvas Width="878" Height="569">
				
				
				
				<Image Source="Images/help_screen_verbiage.png" Stretch="Fill" x:Name="image_verbiage"/>
				<Image Source="Images/help_screen_controls.png" Stretch="Fill" Canvas.Left="400" x:Name="image_controls" Opacity="0.15" MouseEnter="help_image_MouseEnter" MouseLeave="help_image_MouseLeave"/>
				<Image Source="Images/help_screen_markers.png" Stretch="Fill" Canvas.Top="231" Canvas.Left="401" x:Name="image_markers" Opacity="0.15" MouseEnter="help_image_MouseEnter" MouseLeave="help_image_MouseLeave"/>
				<Image Source="Images/help_screen_tour.png" Stretch="Fill" Canvas.Top="463" Canvas.Left="400" x:Name="image_tour" Opacity="0.50"  RenderTransformOrigin=".5,.5" MouseEnter="help_button_MouseEnter" MouseLeave="help_button_MouseLeave" MouseLeftButtonUp="tour_button_MouseLeftButtonUp"/>
				<Image Source="Images/help_screen_explore.png" Stretch="Fill" Canvas.Top="463" Canvas.Left="642" x:Name="image_explore" Opacity="0.50" RenderTransformOrigin=".5,.5" MouseEnter="help_button_MouseEnter" MouseLeave="help_button_MouseLeave" MouseLeftButtonUp="explore_button_MouseLeftButtonUp"/>
                <CheckBox x:Name="checkboxHideStartupScreens" IsChecked="True" Foreground="White" Visibility="Collapsed"/>
				</Canvas>

                <!--<StackPanel VerticalAlignment="Center" >
                    <HyperlinkButton Foreground="White" x:Name="hlTour" Content="Take the Guided Tour" Click="hlTour_Click"  HorizontalAlignment="Center"  Margin="0,0,0,30"/>
                    <HyperlinkButton Foreground="White" x:Name="hl" Content="Explore by yourself" Click="hlExplore_Click" HorizontalAlignment="Center" Margin="0,0,0,30"/>
                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                        
                        <TextBlock Width="300" Text="never, ever, EVER show me these startup screens again (honored so long as you don't wipe out our cookie [Isolated Storage actually] )" TextWrapping="Wrap" Foreground="white" HorizontalAlignment="Center"/>
                    </StackPanel>
                </StackPanel>
                <Button x:Name="buttonCloseUXPages" Content="x" Width="18" Height="20" HorizontalAlignment="Right" VerticalAlignment="Top" Click="buttonCloseHelp_Click"  IsHitTestVisible="True"/>-->
            
        </Grid>
        

    </Grid>

</UserControl>
